home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / OpenGL 1.0 SDK / Source / Libraries / tk / tkprivate.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-18  |  736 b   |  31 lines  |  [TEXT/CWIE]

  1. #if defined(__cplusplus) || defined(c_plusplus)
  2. #define class c_class
  3. #endif
  4.  
  5. typedef struct tkWindowRec {
  6.     int x, y, width, height;
  7.     GLenum type;
  8.     AGLContext      context;
  9.     AGLDrawable     drawable;
  10.     AGLPixelFormat  fmt;
  11.     GLboolean       double_buffer;
  12.     GLboolean       fullscreen;
  13. } tkWindowRec;
  14.  
  15. extern tkWindowRec tkWindow;
  16.  
  17. extern void (*ExposeFunc)(int, int);
  18. extern void (*ReshapeFunc)(int, int);
  19. extern void (*DisplayFunc)(void);
  20. extern GLenum (*KeyDownFunc)(int, GLenum);
  21. extern GLenum (*MouseDownFunc)(int, int, GLenum);
  22. extern GLenum (*MouseUpFunc)(int, int, GLenum);
  23. extern GLenum (*MouseMoveFunc)(int, int, GLenum);
  24. extern void (*IdleFunc)(void);
  25.  
  26. extern GLenum drawAllowFlag;
  27.  
  28. extern int cursorNum;
  29. extern Boolean gDone;
  30.  
  31.